package com.ruoyi.support.enums;

import com.siashan.toolkit.core.enums.IBaseEnum;

/**
 * 账单类型枚举
 *
 * @author siashan
 * @date 2024/2/22
 */
public enum BillTypeEnum implements IBaseEnum<String> {

    /**
     * 平账
     */
    NONE("none","平账"),

    /**
     * 入账
     */
    INCOME("income", "入账"),
    /**
     * 出账
     */
    OUTCOME("outcome", "出账"),

    ;


    private String code;
    private String desp;

    BillTypeEnum(String code, String desp) {
        this.code = code;
        this.desp = desp;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDesp() {
        return this.desp;
    }
}
